Cyclic Distributed Garbage Collection Without Global Synchronization in CORBA
نویسندگان
چکیده
1 Abstract This paper describes an algorithm for cyclic distributed garbage collection and its implementation. The algorithm is an extension of reference-listing that collects cyclic garbage. It uses back-tracing instead of mark-and-sweep to eliminate the need of global synchronization. First, by using a special heuristic the algorithm chooses an object that is likely to be garbage (suspect). Then the algorithm recursively traces back the references to nd the transitive closure of objects that reach the suspect. If this closure does not contain any root, the objects in the closure are garbage, and therefore collected. Back-tracing distributed garbage collection has been covered in previous works, however none of these works mentioned the issues involved in the implementation of this algorithm in a real environment. These implementation issues are addressed and solved in this paper. To prove the feasibility of back-tracing, it has been implemented using oo the shelf software components. This paper describes the algorithm, the issues, their solutions and an implementation. 2 Introduction The way networking applications are implemented has evolved since the creation of the In-ternet. The growth in complexity of these applications has motivated the creation of better networking abstractions to deal with this complexity. This evolution is similar to the evolution of computer languages. Garbage collection is now a required feature in modern computer languages. For the same reasons, distributed garbage collection is also a necessity in modern distributed systems. Distributed garbage collection algorithms can be grouped in two families: Reference Counting and TracinggJon96, PS95].
منابع مشابه
Distributed Garbage Collection by Timeouts and Backward Inquiry
We present a practical and e cient garbage collection mechanism for large scale distributed systems The mechanism collects all garbage including distributed cyclic garbage without global synchronization or back ward links The primary method used for local and remote garbage collection is timeouts each object has a time to live and clients which have a link to an ob ject must refresh the target ...
متن کاملLazy Garbage Collection of Recovery State for Fault-Tolerant Distributed Shared Memory
ÐIn this paper, we address the problem of garbage collection in a single-failure fault-tolerant home-based lazy release consistency (HLRC) distributed shared-memory (DSM) system based on independent checkpointing and logging. Our solution uses laziness in garbage collection and exploits consistency constraints of the HLRC memory model for low overhead and scalability. We prove safe bounds on th...
متن کاملIncremental Distributed Garbage Collection Using Reverse Reference Tracking
Most modern middleware systems like Java Beans and .NET provide automatic garbage collection (GC). In spite of the many distributed solutions proposed in literature collection is typically limited to a single node and simple leasing techniques are used for remote references. In this paper we present a new incremental multistage GC. It has been implemented in the Plurix operating system but migh...
متن کاملComplete distributed garbage collection: an experience with Rotor
Support for distributed co-operative work implies object sharing. The memory management of these distributed (and possibly persistent) objects is a very difficult task. When done manually, it leads to memory leaks (useless objects that were not deleted) and dangling references (references to objects erroneously deleted), causing applications to fail. These errors have a strong negative impact o...
متن کاملSystem Description for a Scalable, Fault-Tolerant, Distributed Garbage Collector
We describe an efficient and fault-tolerant algorithm for distributed cyclic garbage collection. The algorithm imposes few requirements on the local machines and allows for flexibility in the choice of local collector and distributed acyclic garbage collector to use with it. We have emphasized reducing the number and size of network messages without sacrificing the promptness of collection thro...
متن کامل